﻿/// Write a program that shows the binary representation of given 16-bit signed integer number (the C# type short).


using System;

namespace c_sh_II_lek_7_numeral
{
    class zad8
    {
        static void Main()
        {
            short num = short.Parse(Console.ReadLine());
            string numStr = "";

            for (int i = 0; i < 16; i++)
            {
                numStr = (num >> i & 1) + numStr;
            }

            Console.WriteLine(numStr); 
        }
    }
}
